package com.bwie.auth.service;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.UserRequest;
import com.bwie.common.domain.response.UserResponse;
import com.bwie.common.result.Result;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie.auth.service
 * @Project：zg6_week11
 * @name：AuthService
 * @Date：2024/4/25 9:26
 */
public interface AuthService {
    /**
     * 登录
     * @param userRequest
     * @return
     */
    Result<UserResponse> login(UserRequest userRequest);

    /**
     * 获取用户信息
     * @return
     */
    User userInfo();

}
